package com.ruoyi.caiwu.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.caiwu.domain.CwCheckBatchVo;
import com.ruoyi.caiwu.domain.CwDealPerDay;
import com.ruoyi.caiwu.domain.CwDealPerDayDto;
import com.ruoyi.caiwu.domain.CwDealPerDayVo;
import com.ruoyi.caiwu.dto.*;
import com.ruoyi.caiwu.service.CwDealPerDayService;
import com.ruoyi.caiwu.mapper.CwDealPerDayMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 86182
* @description 针对表【t_cw_deal_per_day】的数据库操作Service实现
* @createDate 2023-05-04 20:35:53
*/
@Service
public class CwDealPerDayServiceImpl extends ServiceImpl<CwDealPerDayMapper, CwDealPerDay>
    implements CwDealPerDayService{

    @Override
    public IPage<CwDealPerDayDto> searchCwDealPerDayPage(Page page, CwDealPerDayVo vo) {
        return this.baseMapper.searchCwDealPerDayPage(page,vo);
    }

    @Override
    public CwDealPerDayTotalDto searchCwDealPerDaySum(CwDealPerDayVo vo) {
        return this.baseMapper.searchCwDealPerDaySum(vo);
    }

    @Override
    public IPage<CwDealPerDayDetailPayDto> searchCwDealPerDayDetailPayPage(Page page,CwDealPerDayVo param) {
        // 分页查询
        return this.baseMapper.searchCwDealPerDayDetailPayPage(page, param);
    }

    @Override
    public IPage<CwDealPerDayDetailReceiptDto> searchCwDealPerDayDetailReceiptPage(Page page,CwDealPerDayVo param) {
        // 分页查询
        return this.baseMapper.searchCwDealPerDayDetailReceiptPage(page, param);
    }
}




